package pojo;

import java.util.Date;

public class Coupon {
    private String couponId;

    private String userId;

    private String couponCode;

    private String couponState;

    private Date createTime;

    private Date useTime;

    public Coupon(String couponId, String userId, String couponCode, String couponState, Date createTime, Date useTime) {
        this.couponId = couponId;
        this.userId = userId;
        this.couponCode = couponCode;
        this.couponState = couponState;
        this.createTime = createTime;
        this.useTime = useTime;
    }

    public Coupon() {
        super();
    }

    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId == null ? null : couponId.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getCouponCode() {
        return couponCode;
    }

    public void setCouponCode(String couponCode) {
        this.couponCode = couponCode == null ? null : couponCode.trim();
    }

    public String getCouponState() {
        return couponState;
    }

    public void setCouponState(String couponState) {
        this.couponState = couponState == null ? null : couponState.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUseTime() {
        return useTime;
    }

    public void setUseTime(Date useTime) {
        this.useTime = useTime;
    }
}